package com.asc.service.user.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.asc.service.user.dao.UserDao;
import com.asc.service.user.entity.UserEXT;
import com.asc.common.entity.TUUser;

@Service
public class UserService {
	
	@Autowired
	private UserDao tuUserDao;
	
	public List<UserEXT> queryUser(Map<String,Object> requestMap) {
		return tuUserDao.queryUser(requestMap);
	}

	public UserEXT login(Map<String, Object> requestMap) {
		return tuUserDao.login(requestMap);
	}

	public int queryUserCount(Map<String, Object> requestMap) {
		return tuUserDao.queryUserCount(requestMap);
	}

	public int updateUser(Map<String, Object> requestMap) {
		return tuUserDao.updateUser(requestMap);
	}

}
